package com.hns.can.base.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 字段权限实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_AUTHORITY_FIELD")
public class SysAuthrityFieldEntity extends BaseEntity {
	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "ROLE_ID")
	private String roleId;

	@Column(name = "FIELD_ID")
	private String fieldId;

	@Column(name = "FIELD_ALIAS")
	private String fieldAlias;

	@Column(name = "CREATE_TS")
	private Date createTs;
	
	@Transient
	private String funcId;

	@Transient
	private String tableId;

	@Transient
	private String fieldName;

	@Transient
	private String fieldDsc;

	@Transient
	private BigDecimal fieldSn;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getFieldId() {
		return fieldId;
	}

	public void setFieldId(String fieldId) {
		this.fieldId = fieldId;
	}

	public String getFieldAlias() {
		return fieldAlias;
	}

	public void setFieldAlias(String fieldAlias) {
		this.fieldAlias = fieldAlias;
	}

	public Date getCreateTs() {
		return createTs;
	}

	public void setCreateTs(Date createTs) {
		this.createTs = createTs;
	}
	
	public String getFuncId() {
		return funcId;
	}

	public void setFuncId(String funcId) {
		this.funcId = funcId;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getFieldDsc() {
		return fieldDsc;
	}

	public void setFieldDsc(String fieldDsc) {
		this.fieldDsc = fieldDsc;
	}

	public BigDecimal getFieldSn() {
		return fieldSn;
	}

	public void setFieldSn(BigDecimal fieldSn) {
		this.fieldSn = fieldSn;
	}

}